<template>
  <div id="app">
    <div v-if="$route.meta.keepAlive">
      <Head/>
      <router-view/>
    </div>
    <router-view v-if="!$route.meta.keepAlive"></router-view>
  </div>
</template>

<script>
  import Head from "./views/Head";
  export default {
    name: "App",
    components:{Head},
  };
</script>

<style>
html,
body,
#app {
  height: 100%;
  margin: 0;
  padding: 0;
}

.el-input,
.el-textarea__inner {
  font-family: "微软雅黑";
}

.card-content > .title > .el-input__inner {
  font-size: 24px !important;
  text-align: center !important;
  border: none !important;
}

.card-content > .el-textarea > .el-textarea__inner {
  font-size: 14px !important;
  border: none !important;
}

.single .el-form-item {
  display: flex;
  justify-content: center;
  margin-left: 0 !important;
}

.card-content > .el-textarea > .el-textarea__inner:hover, .card-content > .title > .el-input__inner:hover {
  border: 1px solid !important;
}

.el-radio__input.is-disabled+span.el-radio__label {
    color: #818fab !important;
    cursor: not-allowed;
}

.el-checkbox__input.is-disabled+span.el-checkbox__label {
    color: #818fab !important;
    cursor: not-allowed;
}
</style>